package cn.krui.project.bean.simpleshopsetting;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotNull;
/**
 * createor: zc
 * email: zc8023zs@163.com
 * create_time: 2020/4/8 16:38:05
 */
@ApiModel(value = "qr_specification", description = "商品规格")
@TableName(value = "qr_specification")
public class specification {
	@ApiModelProperty(value = "主键")
	@TableId(type = IdType.AUTO,value = "id")
	@NotNull(message = "主键不能为空")
	private Integer id;
	@ApiModelProperty(value = "规格名称")
	@TableField(value="name")
	private String name;
	@ApiModelProperty(value = "排序")
	@TableField(value="sort_order")
	private Long sort_order;

 
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
 
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
 
	public Long getSort_order() {
		return sort_order;
	}
	public void setSort_order(Long sort_order) {
		this.sort_order = sort_order;
	}

}